import { defultAlova } from '../index.js';

/** 获取平台信息 */
export const getPlatformInfo = (params) => {
  const method = defultAlova.Get('/customer/systemController/getPlatformInfo', {
    params,
  });
  return method;
};

/** 获取平台信息 */
export const searchAgreementInfoByName = (params) => {
  const method = defultAlova.Get(
    '/customer/systemController/searchAgreementInfoByName',
    {
      params,
    }
  );
  return method;
};
/** 生成不限制二维码 */
export const unLimitGenerateCode = (data) => {
  const method = defultAlova.Post(
    '/customer/systemController/unLimitGenerateCode',
    data
  );
  return method;
};
// 获取服务器当前时间
export const getServerTime = (params) => {
  const method = defultAlova.Get('/customer/function/getTime', {
    params,
  });
  return method;
};
